import request from '../../utils/request'

const api_name = "category"

export function getCategories() {
    return request({
        url: `/${api_name}/categorytree`,
        method: 'get'
    })
}